namespace SugarTank.Mobile.Helpers
{
    using System;

    public class EventArgs<T> : EventArgs
    {
        private readonly T value;

        /// <summary>
        /// Initializes a new instance of the <see cref="EventArgs&lt;T&gt;"/> class.
        /// </summary>
        /// <param name="value">The value.</param>
        public EventArgs(T value)
        {
            this.value = value;
        }

        /// <summary>
        /// Gets the value.
        /// </summary>
        /// <value>The value.</value>
        public T Value
        {
            get { return value; }
        }
    }
}